<%@page import="com.wiseMen.platform.support.security.UserUtils"%>
<%@page import="java.util.UUID"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/common/taglib.jsp" %>
<%
    String uuid = UUID.randomUUID().toString();
    request.setAttribute("uuid", uuid);
    String userId = UserUtils.getCurrendUser().getId();
%>
<form id="search_${uuid}" style="display: none;" class="box-body form-float"></form>
<div class="row">
	<div class="col-md-12"  >
		<div class="box">
			<div class="box-header with-border" id="toobar_${uuid}"></div>
			<div class="box-body">
				<table id="grid_${uuid}"  style="width: 100%"></table>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
var selectCategoryId;
$(function(){
	requirejs(['wiseMen/dataModel/QueryDefTpl'],function(QueryDefTpl){
		var uuid = '${uuid}';
		
		var grid=new QueryDefTpl({
			code:"KBMS_INFO_COLLECTION",
			searchBarType:"dialog",
			queryDatas:{USERID:'<%=userId%>'},
			searchDiv:"#search_"+uuid,//查询定义栏
			toolBarDiv:"#toobar_"+uuid,//工具栏定义栏
			gridDiv:"#grid_"+uuid//grid表格
		});
	});
});
</script>